package com.gzsxy.esjy.bus.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gzsxy.esjy.bus.entity.LoginLogQueryVo;
import com.gzsxy.esjy.bus.entity.OperLogQueryVo;
import com.gzsxy.esjy.service.base.dto.request.LoginLogRequest;
import com.gzsxy.esjy.service.base.dto.request.OperlogRequest;
import com.gzsxy.esjy.service.base.dto.response.PageResult;

/**
 * @description: 抽象日志处理接口
 * @param
 * @return
 */
public interface IOperlogService {

    /**
     * @description: 操作日志入库
     * @param
     * @return
     */
    void addOperlog(OperlogRequest operlogRequest);


    /**
     * @description: 分页查询当前操作日志
     * @param
     * @return
     */
    PageResult<OperlogRequest> getPageVo(IPage<OperlogRequest> pageParam, OperLogQueryVo operLogQueryVo);
}
